Skip to content

Conversation

@mykaul
Copy link

@mykaul mykaul commented Aug 14, 2025

I'm not sure why I did not remove it as part of #493

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

I'm not sure why I did not remove it as part of scylladb#493

Signed-off-by: Yaniv Kaul <[email protected]>
@mykaul mykaul requested a review from Copilot August 14, 2025 06:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes deprecated code related to v1 and v2 protocols, cleaning up the codebase after the previous removal of protocol v1/v2 support. The changes eliminate outdated connection pooling configurations and related test code that was specific to older protocol versions.

  • Removes deprecated connection pooling methods and constants from the Cluster class
  • Cleans up test files to remove protocol version-specific connection configurations
  • Updates documentation to remove references to deprecated connection pooling methods

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cassandra/cluster.py Removes connection pooling constants, configuration dictionaries, and deprecated getter/setter methods for core/max connections per host
cassandra/concurrent.py Simplifies documentation by removing protocol version-specific concurrency recommendations
tests/unit/test_host_connection_pool.py Removes mock setup for deprecated connection pooling methods
tests/integration/standard/test_query_paging.py Removes protocol version check and connection configuration
tests/integration/standard/test_query.py Removes protocol version checks and connection configurations from two test classes
tests/integration/standard/test_concurrent.py Removes protocol version check and connection configuration
tests/integration/standard/test_cluster.py Removes protocol version check and connection configuration
docs/api/cassandra/cluster.rst Removes documentation for deprecated connection pooling methods

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dkropachev dkropachev merged commit 0fa9520 into scylladb:master Aug 16, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants